﻿/*===========================================================================
	TASK 1:                                                         {Methods}
	Write a method that asks the user for his name and prints “Hello, <name>”
    (for example, “Hello, Peter!”). Write a program to test this method.
============================================================================*/

using System;

class Hello
{
    static void Main()
    {
         AskForName();
    }

    static void AskForName()
    {
        Console.Write("Enter your name,please:");
        string name = Console.ReadLine();
        Console.WriteLine("Hello,{0}!", name);
    }
}

